<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>color颜色</title>
    <style>
        .p1 {
            color: red;
        }
        .p2 {
            color: rgb(0,0,255);
        }
        .p3 {
            color: rgba(0, 255, 0, 0.4);
        }
        .p4 {
            color: #ffd265;
        }
    </style>
</head>
<body>

<p class="p1">hello world!</p>
<p class="p2">hello world!</p>
<p class="p3">hello world!</p>
<p class="p4">hello world!</p>
</body>
</html>